package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void saveSchedule(Schedule schedule);

    Map<String, Object> getSchedulePage(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, String workDate);

    Map<String, Object> getUserSchedulePage(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    Schedule getScheduleById(String scheduleId);

    ScheduleOrderVo getRemoteScheduleById(String scheduleId);

    void updateAvailableNumber(String scheduleService, Integer availableNumber);
}